﻿/** 
 * admin.login.css 
 */

body {
    background-image: url("res/login1.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

    body:before {
        content: "";
        /* background-color: rgba(0, 0, 0, .1); */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

.login-wrapper {
    max-width: 420px;
    padding: 20px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    z-index: 2;
}

    .login-wrapper > .layui-form {
        padding: 25px 30px;
        /* background-color: rgb(123, 135, 172); */
        background-color: rgba(126, 142, 194, 0.2);
        box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.19);
        box-sizing: border-box;
        border-radius: 4px;
    }

        .login-wrapper > .layui-form > h2 {
            color: #fff;
            font-size: 22px;
            text-align: center;
            margin-bottom: 25px;
        }

        .login-wrapper > .layui-form > .layui-form-item {
            margin-bottom: 25px;
            position: relative;
        }

            .login-wrapper > .layui-form > .layui-form-item:last-child {
                margin-bottom: 0;
            }

            .login-wrapper > .layui-form > .layui-form-item > .layui-input {
                height: 46px;
                line-height: 46px;
                border-radius: 2px !important;
                background-color: transparent;
                border-color: #0031a7;
                color: #fff;
            }

    .login-wrapper .layui-input-icon-group > .layui-input {
        padding-left: 46px;
    }

    .login-wrapper .layui-input-icon-group > .layui-icon {
        width: 46px;
        height: 46px;
        line-height: 46px;
        font-size: 20px;
        color: #ffffff;
        position: absolute;
        left: 0;
        top: 0;
        text-align: center;
    }

    .login-wrapper > .layui-form > .layui-form-item.login-captcha-group {
        padding-right: 135px;
    }

        .login-wrapper > .layui-form > .layui-form-item.login-captcha-group > .login-captcha {
            height: 46px;
            width: 120px;
            cursor: pointer;
            box-sizing: border-box;
            border: 1px solid #e6e6e6;
            border-radius: 2px !important;
            position: absolute;
            right: 0;
            top: 0;
        }

    .login-wrapper > .layui-form > .layui-form-item > .layui-form-checkbox {
        margin: 0 !important;
        padding-left: 25px;
    }

        .login-wrapper > .layui-form > .layui-form-item > .layui-form-checkbox > .layui-icon {
            width: 15px !important;
            height: 15px !important;
            border-color: rgb(125, 144, 206);
            background-color: rgb(125, 144, 206);
        }

.layui-form-checkbox[lay-skin="primary"] i {
    color: rgb(125, 144, 206);
    background-color: rgb(125, 144, 206);
}

.layui-form-checkbox[lay-skin="primary"]:hover i {
    color: rgb(125, 144, 206);
}

.layui-form-checked {
    color: #fff;
    border-color: rgb(125, 144, 206);
    background-color: rgb(125, 144, 206);
}

    .layui-form-checked[lay-skin="primary"] i {
        border-color: rgb(125, 144, 206) !important;
        background-color: rgb(125, 144, 206);
        color: #fff;
    }

    .layui-form-checked[lay-skin="primary"]:hover i {
        border-color: rgb(125, 144, 206) !important;
        background-color: rgb(125, 144, 206);
        color: #fff;
    }

/* h1 {
  color: #11182b;
  background-color: #3269f3ec;
} */

.login-wrapper > .layui-form .layui-btn-fluid {
    height: 48px;
    line-height: 48px;
    font-size: 16px;
    border-radius: 3px !important;
    border-color: rgb(125, 144, 206);
    background-color: rgba(125, 144, 206, 0.2);
}

.login-wrapper > .layui-form > .layui-form-item.login-oauth-group > a > .layui-icon {
    font-size: 26px;
}

.login-wrapper > .layui-form > .layui-form-item > .layui-form-checkbox > span {
    color: #fff;
}

.login-copyright {
    color: #ffffff;
    padding-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media screen and (min-height: 550px) {
    .login-wrapper {
        margin: -250px auto 0;
        position: absolute;
        top: 45%;
        left: 15%;
        width: 100%;
    }

    .login-copyright {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
    }
}
.layui-form-checkbox[lay-skin=primary] > div {
    color: #dedede;
}
.layui-btn {
    background-color: #5fb878;
    border-color: #5fb878;
}

.layui-link {
    color: #5fb878 !important;
}

.text-center {
    text-align: center;
}


/*登陆跑马灯*/
@keyframes loginLeft {
    0% {
        left: -100%
    }

    50%,to {
        left: 100%
    }
}

@keyframes loginTop {
    0% {
        top: -100%
    }

    50%,to {
        top: 100%
    }
}

@keyframes loginRight {
    0% {
        right: -100%
    }

    50%,to {
        right: 100%
    }
}

@keyframes loginBottom {
    0% {
        bottom: -100%
    }

    50%,to {
        bottom: 100%
    }
}

@keyframes toRight {
    0% {
        left: -5px
    }

    50% {
        left: 100%
    }

    to {
        left: -5px
    }
}

.login-right-warp-one:before {
    filter: hue-rotate(0deg);
    top: 0px;
    left: 0px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,transparent,#FCFEFE);
    animation: loginLeft 3s linear infinite;
}

.login-right-warp-one:after {
    filter: hue-rotate(60deg);
    top: -100%;
    right: 0px;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg,transparent,#FCFEFE);
    animation: loginTop 3s linear infinite;
    animation-delay: .7s;
}

.login-right-warp-two:before {
    filter: hue-rotate(120deg);
    bottom: 0px;
    right: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(270deg,transparent,#FCFEFE);
    animation: loginRight 3s linear infinite;
    animation-delay: 1.4s;
}

.login-right-warp-two:after {
    filter: hue-rotate(300deg);
    bottom: -100%;
    left: 0px;
    width: 3px;
    height: 100%;
    background: linear-gradient(360deg,transparent,#FCFEFE);
    animation: loginBottom 3s linear infinite;
    animation-delay: 2.1s;
}

.login-right-warp-one, .login-right-warp-two {
    position: initial;
    display: block;
    width: inherit;
    height: inherit;
}

    .login-right-warp-one:before, .login-right-warp-one:after, .login-right-warp-two:before, .login-right-warp-two:after {
        content: "";
        position: absolute;
        z-index: 1;
    }

.login-warp:before {
    filter: hue-rotate(0deg);
    top: 0px;
    left: 0px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,transparent,#FCFEFE);
    animation: loginLeft 2s linear forwards;
}

.login-warp:before {
    content: "";
    position: absolute;
    z-index: 1;
}